Skip to content

[scheduling] Optimize AddCycleConstraints when re-applying scheduling - #4703

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_958361823
Aug 4, 2026
Merged

[scheduling] Optimize AddCycleConstraints when re-applying scheduling#4703
copybara-service[bot] merged 1 commit into
mainfrom
test_958361823

Conversation

@copybara-service

Copy link
Copy Markdown

[scheduling] Optimize AddCycleConstraints when re-applying scheduling

When trying to preserve an existing schedule, we previously did a quadratic-complexity scan for existing or contradictory constraints; we now just populate a hash map for linear-time lookup.

@copybara-service
copybara-service Bot force-pushed the test_958361823 branch 3 times, most recently from c46a9ad to a94192d Compare August 4, 2026 13:26
When trying to preserve an existing schedule, we previously did a quadratic-complexity scan for existing or contradictory constraints; we now just populate a hash map for linear-time lookup.

PiperOrigin-RevId: 959004301
@copybara-service
copybara-service Bot merged commit 4afaa9c into main Aug 4, 2026
@copybara-service
copybara-service Bot deleted the test_958361823 branch August 4, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant